<!--
<form action="/backend/news_category/records" method="get" class="filter">
	<label for="name">名称</label>
	<input type="text" class="text" name="name" autocomplete="off"/>
	<input type="submit" class="submit" value="检索"/>
</form>
-->
<ul class="button">
	<li><a href="/backend/news_category/add" class="add">添加</a></li>
</ul>
<table class="records">
	<thead>
		<tr>
			<th><input type="checkbox" value="0" class="select-all"/></th>
			<th><a href="javascript:void(0);">分类名（中文）</a></th>
			<th><a href="javascript:void(0);">分类名（法文）</a></th>
			<th><a href="javascript:void(0);">分类名（英文）</a></th>
			<th><a href="javascript:void(0);">排序</a></th>
			<th><a href="javascript:void(0);">创建时间</a></th>
			<th>操作</th>
		</tr>
	</thead>
	<tfoot><tr><td colspan="6"></td></tr></tfoot>
	<tbody><tr><td colspan="6"></td></tr></tbody>
</table>
<script type="text/x-jquery-tmpl" id="form-template">
	<form action="/backend/news_category/${action}" method="post">
		<input type="hidden" name="id" value="${id}"/>
		<div class="form-row">
			<label for="name_zh">分类名（中文）</label>
			<input type="text" class="text" name="name_zh" value="${name_zh}"/>
		</div>
		<div class="form-row">
			<label for="name_fr">分类名（法文）</label>
			<input type="text" class="text" name="name_fr" value="${name_fr}"/>
		</div>
		<div class="form-row">
			<label for="name_en">分类名（英文）</label>
			<input type="text" class="text" name="name_en" value="${name_en}"/>
		</div>
		<div class="form-button">
			<input type="submit" class="submit" value="提交"/>
		</div>
</form>
</script>
<script type="text/x-jquery-tmpl" id="list-template">
	<tr>
		<td><input type="checkbox" value="${id}"/></td>
		<td>${name_zh}</td>
		<td>${name_fr}</td>
		<td>${name_en}</td>
		<td>${order}</td>
		<td>${created_at}</td>
		<td class="action">
			<a href="javascript:void(0);" class="edit" title="编辑">
				<img src="/assets/img/edit.png" alt="编辑"/>
			</a>
			<a href="javascript:void(0);" class="delete" title="删除">
				<img src="/assets/img/delete.png" alt="删除"/>
			</a>
		</td>
	</tr>
</script>
<script type="text/x-jquery-tmpl" id="none-template">
	<tr><td colspan="6" style="text-align: center;">没有搜索到结果。</td></tr>
</script>